.types {
  display: flex;
  justify-content: space-around;
  margin-bottom: 33rpx;
  .type {
    color: rgba(255, 255, 255, 0.7);
    font-size: 30rpx;
    position: relative;
    &.active {
      color: #fff;
      &::after {
        content: '';
        height: 5rpx;
        width: 100%;
        background: #fff;
        position: absolute;
        bottom: -10rpx;
        left: 0;
      }
    }
  }
}
.list-wrap {
  height: calc(100% - 82rpx);
  .train-item {
    height: 300rpx;
    background: #ffffff;
    border-radius: 20rpx;
    box-shadow: 0 6rpx 10rpx 0 rgba(13,84,132,0.11);
    margin-bottom: 30rpx;
    .train-status {
      display: flex;
      justify-content: space-between;
      padding: 18rpx 30rpx;
      height: 70rpx;
      color: #666666;
      font-size: 24rpx;
      line-height: 34rpx;
      .status-name {
        width: 90rpx;
        height: 36rpx;
        border-radius: 5rpx;
        font-size: 20rpx;
        text-align: center;
      }
      .notStart {
        background: #ffd383;
        color: #b2740d;
      }
      .inProgress {
        background: #7fd99b;
        color: #227210;
      }
      .finished {
        background: #d8d8d8;
        color: #666;
      }
    }
    .train-info {
      display: flex;
      border-radius: 20rpx;
      height: calc(100% - 70rpx);
      box-shadow: 0 6rpx 10rpx 0 rgba(13,84,132,0.11), 0px -2px 4px 0px #e8eef4;
      padding: 30rpx;
      image {
        width: 162rpx;
        height: 162rpx;
        margin-right: 20rpx;
      }
      .train-word {
        width: calc(100% - 182rpx);
      }
      .train-title {
        font-size: 30rpx;
        font-weight: 500;
        color: #333333;
      }
      .train-desc {
        font-size: 24rpx;
        height: 106rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        color: #999;
      }
    }
  }
}